vsprintf: introduce %*ph extended format specifier for hex buffers
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 1 Oct 2014 09:32:56 +0000 (11:32 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 1 Oct 2014 09:32:56 +0000 (11:32 +0200)
commit01c62426eee721c6faf63bba95d69453e0ce1822
treebcc89a9b90524d346ea2d0f6f77a5f596e488803
parentadea5dca0dd9930a29e9dd0e9a7c777e03475006
vsprintf: introduce %*ph extended format specifier for hex buffers

This behaves in the same way as Linux.  The 64 byte limit is arbitrary but
long enough for practical purposes.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Re-structured code.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
docs/misc/printk-formats.txt
xen/common/vsprintf.c